package com.hs.sfzy.mapper;

import com.hs.sfzy.entity.MyTest;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author qin
* @description 针对表【mytest】的数据库操作Mapper
* @createDate 2024-10-26 10:25:57
* @Entity com.hs.sfzy.entity.MyTest
*/
public interface MyTestMapper {

    @Delete("delete from mytest where test_id = #{heartMarkId}")
    public int deleteByHeartMarkId(long heartMarkId);

    @Select("select * from mytest")
    List<MyTest> page();
}
